<%= form_tag params_for(:action => :destroy, :id => params[:id]), 
  :method => :delete, 
  :id => element_form_id(:action => :destroy),
  :title => "Delete", #active_scaffold_config.delete.label,
  :class => 'panel destroy'
%>
 <h2><%= as_('Are you sure?') -%></h2>
 <%= link_to as_('Delete'), {}, :class => "button redButton", :type => "submit" %> 
</form>
